package com.atguigu.tingshu.user.service;

import com.atguigu.tingshu.dto.UpdateUserDto;
import com.atguigu.tingshu.model.album.TrackInfo;
import com.atguigu.tingshu.model.user.UserInfo;
import com.atguigu.tingshu.vo.user.GetUserInfoVo;
import com.atguigu.tingshu.vo.user.UserPaidRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

public interface UserInfoService extends IService<UserInfo> {

	String wxLogin(String code);

	GetUserInfoVo getUserInfo();

	void updateUser(UpdateUserDto updateUserDto);

	Map<Long, Integer> userIsPaidTrack(Long albumId, List<Long> trackIdList);

	List<Long> findUserPaidTrackList(Long albumId);


	Boolean isUserPaidAlbum(Long albumId);

	void updateUserPaidRecord(UserPaidRecordVo userPaidRecordVo);

	void updateVipExpireHandler();
}
